/*******************************************************************************
 * Package: sealed
 * Type:    Poultry
 * Date:    2024-10-15 10:35
 *
 * Copyright (c) 2024 LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package sealed;

/**
 * 功能描述： 密封类
 * 家禽
 * 语法：
 * public abstract sealed class 父类
 * permits 指定的子类 ,Duck
 * Poultry家禽
 * Chicken ,Duck 鸡鸭
 * @author Songxianyang
 * @date 2024-10-15 10:35
 */
public abstract sealed class Poultry permits Chicken ,Duck {
    abstract void eat();
}
